﻿@using System.Data
@using System.Data.Common
<h2>
    Test
    @HttpContext.Current.Server.MapPath("/Database/story.sdf")
</h2>
<div>
    @{

        var dt = DbProviderFactories.GetFactoryClasses();
        var column = dt.Columns;
        foreach (DataRow dr in dt.Rows)
        {
            foreach (DataColumn col in column)
            {
        <br /><text>@col.Caption : @dr[col.Caption]</text><br />
            }
        <br />
        <br />
        }

@* var db = new PetaPoco.Database("SqlCe");
        
        var list = db.Query<story>("select * from story");
        foreach (var s in list)
        {
  <text>@s.story_title</text>
        }*@
    }
</div>
